package com.shop.product.mapper;

import com.shop.product.domain.MallProductTypeInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MallProductTypeInfoMapper {
    List<MallProductTypeInfo> selectMallProductTypeInfoList(MallProductTypeInfo mallProductTypeInfo);

    MallProductTypeInfo selectMallProductTypeInfoByCatId(Long catId);

    int insertMallProductTypeInfo(MallProductTypeInfo mallProductTypeInfo);

    public int updateMallProductTypeInfo(MallProductTypeInfo mallProductTypeInfo);

    public int deleteMallProductTypeInfoByCatIds(Long[] catIds);

}
